package com.wpre.lotterysystem.controller.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created with IntelliJ IDEA.
 * Description: 创建奖品的参数
 * User: LianBao
 * Date: 2024-12-20
 * Time: 19:00
 */
@Data
public class CreatePrizeParam implements Serializable {

    @NotBlank(message = "奖品名称不能为空")
    private String prizeName;//奖品名称

    private String description;//描述
    @NotNull(message = "奖品价格不能为空")
    private BigDecimal price;//奖品的价格


}
